import { buildService } from '../../helper/service'

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {
    // 获取资讯列表
    getInfoList: {
        url: '/api/v1/work/sand_table_information',
        method: 'get'
    },
    // 构件比例
    getMemberScaleData: {
        url: '/api/v1/work/sand_table_type',
        method: 'get',
    },
    // 单位类型
    getUnitTypeData: {
        url: '/api/v1/work/sand_table_unit_type',
        method: 'get',
    },
    //建筑类型
    getBuildTypeData: {
        url: '/api/v1/work/sand_table_building',
        method: 'get',
    },
    //项目进度
    getproProgressData: {
        url: '/api/v1/work/sand_table_promax',
        method: 'get',
    },
    //地图坐标
    getMapPointData:{
        url: '/api/v1/work/sand_table_coordinate',
        method: 'get',
    },
     //项目数据
     getProjectData:{
        url: '/api/v1/work/sand_table_top',
        method: 'get',
    }
}
export default buildService(settings)
